import request from '@/utils/request'

export function getArticleList(pageNum,pageSize,articleTitle,author,programaType,isRecommend,articleType) {
  return request({
    url: `/article/getArticleList?pageNum=${pageNum}&pageSize=${pageSize}&articleTitle=${articleTitle}&author=${author}&programaType=${programaType}&isRecommend=${isRecommend}&articleType=${articleType}`,
    method: 'get'
  })
}

export function getCompany(companyId) {
    return request({
      url: `/company/getCompany?companyId=${companyId}`,
      method: 'get'
    })
  }